package com.easylinkin.linkappapi.meterbilling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * class info :住户表实体类
 *
 * @author liuqihang
 * @date 2021/7/17 14:55
 */
@Data
@Accessors(chain = true)
@TableName(value = "cbjf_resident_info")
public class ResidentInfo {

    @TableId(type= IdType.AUTO)
    private Integer id;

    /**
     * 住户名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 删除状态（0：正常，1：删除）
     */
    @TableField(value = "delete_status")
    private Integer deleteStatus;

    /**
     * '创建人'
     */
    @TableField(value = "creator")
    private String creator;

    /**
     * '修改人'
     */
    @TableField(value = "modifier")
    private String modifier;

    /**
     * '创建时间'
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * '修改时间'
     */
    @TableField(value = "modify_time")
    private Date modifyTime;

    /**
     * '租户ID'
     */
    @TableField(value = "tenant_id")
    private String tenantId;

}
